home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / Str / Static / Makefile < prev   
Makefile  |  1995-09-04  |  2KB  |  96 lines

  1.  
  2. ObjectFiles    =        \
  3.             o.DecodeHex    \
  4.             o.LeafName    \
  5.             o.MakeASCIIZ    \
  6.             o.MakeCR    \
  7.             o.MakeHex    \
  8.             o.strcmpcr    \
  9.             o.strdup    \
  10.             o.stricmp    \
  11.             o.stricmpcr    \
  12.             o.strlencr    \
  13.             o.strncpycr    \
  14.             o.strnicmp    \
  15.             o.strnicmpcr    \
  16.             o.strcatcr    \
  17.             o.strcpycr    \
  18.  
  19.  
  20. LibName        =    Str
  21.  
  22. # Template makefile which makes normal 
  23. # .o files for use in the main static
  24. # linking DeskLib.
  25.  
  26. # The macro $(ObjectFiles) should be set at the 
  27. # start of this file to be a space-separated
  28. # list of object files.
  29. # This is done by 'Makatic'.
  30.  
  31. # The macro $(LibName) should also be set at the 
  32. # start of this file, to be the name of the 
  33. # DeskLib sublibrary.
  34. # This is done by 'Makatic'.
  35.  
  36. # Compiler and linker flags, These can be anything. 
  37. # All essential flags are included in the macros 
  38. # $(CC) and $(ASM)
  39. #
  40. CCFlags        =    -ffahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
  41. ASMFlags    =    -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
  42.  
  43. CC        =    cc -c $(CCFlags)
  44. ASM        =    objasm $(ASMFlags)
  45.  
  46.  
  47. # -------------------------------------------------------
  48. # Everything below here should probably not be changed...
  49. # -------------------------------------------------------
  50.  
  51. # Here's what we want to make...
  52. #
  53. All:        $(ObjectFiles)
  54.  
  55.  
  56. VPATH = @.^
  57.  
  58. .SUFFIXES:    .c .s .o
  59.  
  60. .c.o:
  61.     $(CC) $< -o $@
  62.     
  63. .s.o:
  64.     $(ASM) -from $< -to $@
  65.  
  66.  
  67.  
  68. # Dynamic dependencies:
  69. o.DecodeHex:    ^.c.DecodeHex
  70. o.DecodeHex:    DeskLib:h.Str
  71. o.LeafName:    ^.c.LeafName
  72. o.LeafName:    DeskLib:h.Str
  73. o.MakeASCIIZ:    ^.c.MakeASCIIZ
  74. o.MakeASCIIZ:    DeskLib:h.Str
  75. o.MakeCR:    ^.c.MakeCR
  76. o.MakeCR:    DeskLib:h.Str
  77. o.MakeHex:    ^.c.MakeHex
  78. o.MakeHex:    DeskLib:h.Str
  79. o.strcmpcr:    ^.c.strcmpcr
  80. o.strcmpcr:    DeskLib:h.Str
  81. o.strdup:    ^.c.strdup
  82. o.strdup:    DeskLib:h.Str
  83. o.stricmp:    ^.c.stricmp
  84. o.stricmp:    DeskLib:h.Str
  85. o.stricmpcr:    ^.c.stricmpcr
  86. o.stricmpcr:    DeskLib:h.Str
  87. o.strlencr:    ^.c.strlencr
  88. o.strlencr:    DeskLib:h.Str
  89. o.strncpycr:    ^.c.strncpycr
  90. o.strncpycr:    DeskLib:h.StringCR
  91. o.strncpycr:    DeskLib:h.Str
  92. o.strnicmp:    ^.c.strnicmp
  93. o.strnicmp:    DeskLib:h.Str
  94. o.strnicmpcr:    ^.c.strnicmpcr
  95. o.strnicmpcr:    DeskLib:h.Str
  96.